package com.teamin.web.exception;

import com.teamin.web.model.ErrorInfo;

/**
 * 统一错误码异常
 *
 * Created by bysocket on 14/03/2017.
 */
public class GlobalErrorInfoException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = -8235142815572795283L;

	private ErrorInfo errorInfo;

	public GlobalErrorInfoException(ErrorInfo errorInfo) {
		this.errorInfo = errorInfo;
	}

	public ErrorInfo getErrorInfo() {
		return errorInfo;
	}

	public void setErrorInfo(ErrorInfo errorInfo) {
		this.errorInfo = errorInfo;
	}
}
